package com.jcp.entity;
/**
 * 请假实体类
 * @author 谢宜望
 *
 */
public class Requests {
	private int reqId;//假条ID
	private int fromUserId;//请假人ID
	private int toUserId;//部门经理ID
	private String reqTime;//请假时间
	private String reqContent;//假条内容
	private String reqFlag;//请假结果    0 未审核     1通过   2失败
	
	
	
	@Override
	public String toString() {
		return "Requests [reqId=" + reqId + ", fromUserId=" + fromUserId + ", toUserId=" + toUserId + ", reqTime="
				+ reqTime + ", reqContent=" + reqContent + ", reqFlag=" + reqFlag + "]";
	}
	public Requests() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Requests(int reqId, int fromUserId, int toUserId, String reqTime, String reqContent, String reqFlag) {
		super();
		this.reqId = reqId;
		this.fromUserId = fromUserId;
		this.toUserId = toUserId;
		this.reqTime = reqTime;
		this.reqContent = reqContent;
		this.reqFlag = reqFlag;
	}
	public int getReqId() {
		return reqId;
	}
	public void setReqId(int reqId) {
		this.reqId = reqId;
	}
	public int getFromUserId() {
		return fromUserId;
	}
	public void setFromUserId(int fromUserId) {
		this.fromUserId = fromUserId;
	}
	public int getToUserId() {
		return toUserId;
	}
	public void setToUserId(int toUserId) {
		this.toUserId = toUserId;
	}
	public String getReqTime() {
		return reqTime;
	}
	public void setReqTime(String reqTime) {
		this.reqTime = reqTime;
	}
	public String getReqContent() {
		return reqContent;
	}
	public void setReqContent(String reqContent) {
		this.reqContent = reqContent;
	}
	public String getReqFlag() {
		return reqFlag;
	}
	public void setReqFlag(String reqFlag) {
		this.reqFlag = reqFlag;
	}
	

}
